import {ADD_TO_CART,ADD_COUNTER} from './mutation-types'
export default {
      [ADD_COUNTER](state,payload){
        payload.count++
      },
      [ADD_TO_CART](state,payload){
        payload.checked=true
        state.cart.push(payload)
      }
  }
